//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在q_warehouse.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {},
		editFormOptions: [],
		searchFormFields: {"WHSE_no":"","WHSE_name":"","WHSE_location":"","Cat_pid":[]},
		searchFormOptions: [{"title":"编码","field":"WHSE_no"},{"title":"名称","field":"WHSE_name"},{"title":"位置","field":"WHSE_location"},{"key":"仓库","data":[],"title":"上级仓库","field":"Cat_pid","type":"cascader"}],
		columns: [{field:'WHSE_no',title:'编码',type:'string',readonly:true},
                       {field:'WHSE_name',title:'名称',type:'string',link:true},
                       {field:'WHSE_location',title:'位置',type:'string'},
                       {field:'WHSE_size',title:'规格',type:'string'},
                       {field:'Cat_pid',title:'上级仓库',type:'guid',bind:{ key:'仓库',data:[]}},
                       {field:'Remark',title:'备注',type:'string'}],
		table: {
			key: 'WHSE_Id',
			footer: "Foots",
			cnName: '仓库管理',
			name: 'q_warehouse',
			url: "/q_warehouse/",
			sortName: "WHSE_no"
		}
	}
}
